package com.yj.model;

import java.io.Serializable;
import java.util.Set;

public class Academy implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private Integer id;
	private String name;
	private Set<Classes> classeses;
	private Set<Student> students;
	private Set<Teacher> teachers;

	public Academy() {
	}
	
	public Academy(String name) {
		this.name = name;
	}

	public Academy(String name, Set<Classes> classeses, Set<Student> students, Set<Teacher> teachers) {
		this.name = name;
		this.classeses = classeses;
		this.students = students;
		this.teachers = teachers;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<Classes> getClasseses() {
		return classeses;
	}

	public void setClasseses(Set<Classes> classeses) {
		this.classeses = classeses;
	}

	public Set<Student> getStudents() {
		return students;
	}

	public void setStudents(Set<Student> students) {
		this.students = students;
	}

	public Set<Teacher> getTeachers() {
		return teachers;
	}

	public void setTeachers(Set<Teacher> teachers) {
		this.teachers = teachers;
	}

}
